global class PriceInvalidWebservice {
        WebService static String setPriceInvalid(Id priceid) {
        	 try{
	            Price__c c = [ select Id, ClosePrice__c from Price__c where Id = :priceid ];
	    
	            c.ClosePrice__c = true;
	            update c;
	            Approval.lock(c, false);
	            return 'OK';
	        } catch(Exception e) {
	            return e.getMessage();
	        }
        }

}